package com.Managers;


import com.Adapters.PostAdapter;
import com.SoapClasses.SoapUtil;
import com.activities.ActivityAlbumDetail;
import com.activities.ActivityAlbums;
import com.activities.ActivityComments;
import com.activities.ActivityLogin;
import com.activities.ActivityMain;
import com.activities.ActivityMenu;
import com.activities.ActivityNotifications;
import com.activities.ActivityProfile;
import com.activities.FragmentExplore;
import com.activities.FragmentExploreAlbum;
import com.activities.FragmentFollower;
import com.activities.FragmentMine;
import com.jeremyfeinstein.slidingmenu.lib.SlidingMenu;


public class FragmentManagerClass {

    public static ActivityAlbums aAlbum;

    public static ActivityAlbumDetail aAlbumDetail;

    public static ActivityComments aComment;

    public static FragmentExplore aExplore;

    public static FragmentExploreAlbum aExploreAlbum;

    public static FragmentFollower aFollow;

    public static PostAdapter adapterPosts;

    public static ActivityLogin aLogin;

    public static ActivityMain aMain;

    public static ActivityMenu aMenu;

    public static FragmentMine aMine;

    public static ActivityNotifications aNotifications;

    public static ActivityProfile aProfile;

    public static SlidingMenu sMenu;

    public static void RefreshPictureList() {

        if (SoapUtil.MENU_VIEW == SoapUtil.MODE_MINE)
            FragmentManagerClass.aMine.refresh();
        else
            if (SoapUtil.MENU_VIEW != SoapUtil.MODE_FAVS
                        && SoapUtil.MENU_VIEW != SoapUtil.MODE_FOLLOWERS)
                FragmentManagerClass.aExplore.refresh();
    }

}
